import types from "../../mutation-types";

// 侧边栏展开折叠
export const updateSlideCollapse = (isCollapse: boolean) => ({
  type: types.UPDATE_SLIDE_COLLAPSE,
  isCollapse,
});

// 更新主題模式
export const updateThemeMode = (mode: string) => ({
  type: types.UPDATE_THEME_MODE,
  themeMode: mode,
});
